package com.hucheng.goods.service;

import com.hucheng.common.page.CommonPager;
import com.hucheng.goods.dto.CartDTO;
import com.hucheng.goods.query.CartQuery;
import com.hucheng.goods.vo.CartVO;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-22
 * @Description: 购物车接口
 **/
public interface CartService {
    void addCart(CartDTO cartDTO);

    CommonPager<CartVO> cartLists(CartQuery cartQuery);

    CommonPager<CartVO> delCart(Integer cartId,Integer userId);
}
